<template>
	<view class="wrapper">
		<view class="avatar">
			<image src="../../static/user/mysetting/avatar.png" mode="" class="avatar-img"></image>
			<view class="avatar-icon"></view>
		</view>
		<view class="list">
			<view class="listurl"  @tap="jumpNavigateTo('/pages/user/userinfoedit')">
				<view class="left">昵称</view>
				<view class="right">176****0287<uni-icons type="right" size="18" color="#999999"></uni-icons></view>
			</view>
			<view class="listurla">
				<view class="left">注册手机号</view>
				<view class="right">176****0287<uni-icons type="right" size="18" color="#999999"></uni-icons></view>
			</view>
		</view>
		<view class="lista">
			<view class="listurl" @tap="exit">
				<view class="left">退出登录</view>
				<view class="right"></view>
			</view>
		</view>
		<view class="list">
			<view class="listurl">
				<view class="left">交易密码设置</view>
				<view class="right"><uni-icons type="right" size="18" color="#999999"></uni-icons></view>
			</view>
			<view class="listurla">
				<view class="left">登录密码设置</view>
				<view class="right"><uni-icons type="right" size="18" color="#999999"></uni-icons></view>
			</view>
		</view>
		<view class="lista">
			<view class="listurl">
				<view class="left">风险评估</view>
				<view class="right"></view>
			</view>
		</view>
		<view class="lista">
			  	<view class="listurl">
				<view class="left">三方托管</view>
				<view class="right"></view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onLoad() {
			
		},
		methods: {
			jumpNavigateTo(url) {
				uni.navigateTo({
					url: url
				})
			},
			exit() {
				uni.showModal({
					title: '温馨提示',
					content: '确定退出当前手机账号吗?',
					confirmColor: '#EA0E00',
					cancelColor: '#999999'
				})
			},
			
		}
	}
</script>

<style lang="scss">
	page{
		width: 100%;
		height: 100%;
		background-color: #F6F4F9;
	}
	.wrapper {
		height: 100%;
		box-sizing: border-box;
	}
	.avatar{
		width: 120rpx;
		height: 120rpx;
		text-align: center;
		margin: 33rpx auto;
		position: relative;
		z-index: 1;
		.avatar-img{
			width: 120rpx;
			height: 120rpx;
			border-radius: 50%;
		}
		.avatar-icon{
			width: 36rpx;
			height: 36rpx;
			position: absolute;
			right: 0;
			bottom: 0;
			z-index: 2;
			background: url('../../static/user/mysetting/edit-icon.png');
			background-position: center center;
			background-size: 100% 100%;
		}
	}
	.lista{
		width: 100%;
		padding: 0 33rpx;
		margin-top: 32rpx;
		margin-bottom: 32rpx;
		box-sizing: border-box;
		background-color: #fff;
		border-radius: 12rpx;
		.listurl{
			display: flex;
			justify-content: space-between;
			align-items: center;
			height: 93rpx;
		
			.left{
				font-weight: bold;
				font-size: 28rpx;
				color: #262626;
			}
			.right{
				display: flex;
				align-items: center;
				font-weight: 500;
				font-size: 24rpx;
				color: #999999;
			}
		}
		
		}
	.list{
		width: 100%;
		padding: 0 33rpx;
		margin-top: 32rpx;
		margin-bottom: 32rpx;
		box-sizing: border-box;
		background-color: #fff;
		border-radius: 12rpx;
		.listurl{
			display: flex;
			justify-content: space-between;
			align-items: center;
			height: 93rpx;
			border-bottom: 1rpx solid #E5E5E5;
			.left{
				font-weight: bold;
				font-size: 28rpx;
				color: #262626;
			}
			.right{
				display: flex;
				align-items: center;
				font-weight: 500;
				font-size: 24rpx;
				color: #999999;
			}
		}
		.listurla{
			display: flex;
			justify-content: space-between;
			align-items: center;
			height: 93rpx;
		
			.left{
				font-weight: bold;
				font-size: 28rpx;
				color: #262626;
			}
			.right{
				display: flex;
				align-items: center;
				font-weight: 500;
				font-size: 24rpx;
				color: #999999;
			}
		}
	}
</style>